/*
 * @Author: liuqiang
 * @Date: 2021-02-08 15:22:08
 * @Last Modified by: liuqiang
 * @Last Modified time: 2021-02-20 17:54:38
 */
const Router = require("koa-router");
const { create, find, update, consume } = require("../controllers/customer");

const router = new Router({
  prefix: "/customer",
});

router.post("/create", create);
router.get("/find", find);
router.post("/update", update);
router.post("/consume", consume);

module.exports = router;
